@import "theme/theme_1";
.index {
  .top_swiper_wrap {
    height: 96pm;
    overflow-y: hidden;
  }
  .top_swiper {
    height: 148pm;
    width: 640pm;
    display: inline-block;
    white-space: nowrap;
    font-size: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .top_swiper_item {
    // padding-top: 4pm;
    display: inline-block;
    width: 120pm;
    height: 96pm;
    border-right: 2pm solid #5a5c62;
    background-color: #454851;
    color: #c3c4c7;
    &.active {
      color: #c3c4c7;
      background-color: #363941;
      .border-1px(right, #5a5c62);
      .dayIcon {
        &.dayIcon-1 {
          background-position: 0 0;
        }
        &.dayIcon-2 {
          background-position: 0 -60pm;
        }
        &.dayIcon-3 {
          background-position: 0 -120pm;
        }
        &.dayIcon-4 {
          background-position: 0 -180pm;
        }
        &.dayIcon-5 {
          background-position: 0 -240pm;
        }
        &.dayIcon-6 {
          background-position: 0 -300pm;
        }
        &.dayIcon-7 {
          background-position: 0 -360pm;
        }
      }
    }
    .dayIcon {
      display: block;
      width: 60pm;
      height: 60pm;
      margin: 0 auto;
      background-image: url(../images/icon_day.png);
      background-repeat: no-repeat;
      background-size: 120pm 420pm;
      &.dayIcon-1 {
        background-position: -60pm 0;
        &.active {
          background-position: 0 0;
        }
      }
      &.dayIcon-2 {
        background-position: -60pm -60pm;
        &.active {
          background-position: 0 -60pm;
        }
      }
      &.dayIcon-3 {
        background-position: -60pm -120pm;
        &.active {
          background-position: 0 -120pm;
        }
      }
      &.dayIcon-4 {
        background-position: -60pm -180pm;
        &.active {
          background-position: 0 -180pm;
        }
      }
      &.dayIcon-5 {
        background-position: -60pm -240pm;
        &.active {
          background-position: 0 -240pm;
        }
      }
      &.dayIcon-6 {
        background-position: -60pm -300pm;
        &.active {
          background-position: 0 -300pm;
        }
      }
      &.dayIcon-7 {
        background-position: -60pm -360pm;
        &.active {
          background-position: 0 -360pm;
        }
      }
    }
    p {
      text-align: center;
      font-size: 22pm;
      line-height: 26pm;
    }
  }
  .selects {
    height: 70pm;
    line-height: 70pm;
    padding: 20pm 0;
    .border-1px(bottom, #e5e5e5);
    .selects_inner {
      padding-left: 12pm;
      select {
        float: left;
        -webkit-appearance: listbox;
        border: none;
        text-indent: 10pm;
        width: 156pm;
        height: 30pm;
        border-radius: 0;
        border-right: 2pm solid #eeeeee;
        font-size: 24pm;
        color: #707070;
        background-color: #fff;
        background-image: url(../images/arrow.png);
        background-repeat: no-repeat;
        background-position: 122pm 15pm;
        background-size: 16pm 9pm;
        &:nth-last-of-type(1) {
          border-right: none;
        }
      }
    }
  }
  .action {
    height: 70pm;
    line-height: 70pm;
    padding-left: 60pm;
    background-image: url(../images/icon_0.png);
    background-repeat: no-repeat;
    background-position: 22pm center;
    background-position: 26pm 23pm;
  }
  .lessons {
    margin-bottom: 22pm;
    .lesson_item {
      margin-top: 9pm;
      padding: 20pm 0 20pm 17pm;
      .imgWrap {
        position: relative;
        float: left;
        width: 250pm;
        height: 200pm;
        img {
          display: block;
          width: 100%;
          height: 100%;
        }
        p {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 200pm;
          line-height: 200pm;
          color: #fff;
          font-size: 24pm;
          text-align: center;
          z-index: 1;
          background: rgba(54, 54, 54, .4);
        }
      }
      .lesson_info {
        float: left;
        margin-left: 20pm;
        width: 344pm;
        .title {
          font-size: 28pm;
          color: @color6;
          line-height: 42pm;
          a {
            color: @color6;
          }
        }
        .desc {
          font-size: 24pm;
          color: @color3;
          line-height: 26pm;
          margin-top: 8pm;
        }
        .icon_1,
        .icon_2 {
          margin-right: 6pm;
        }
        .icon_1 {
          display: inline-block;
          width: 14pm;
          height: 19pm;
          background: url(../images/icon_1.png) no-repeat;
          background-size: 14pm 19pm;
        }
        .icon_2 {
          display: inline-block;
          width: 17pm;
          height: 17pm;
          background: url(../images/icon_2.png) no-repeat;
          background-size: 17pm 17pm;
        }
      }
    }
  }
}
